package com.tcm.doctor.mapper;

import com.tcm.doctor.domain.entity.DoctorServices;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DoctorServicesMapper {
    int deleteByKey(@Param("doctorId") Long doctorId, @Param("name")String name);

    int deleteBatch(@Param("doctorId") Long doctorId);

    int insert(DoctorServices record);

    String findByKey(@Param("doctorId") Long doctorId, @Param("name")String name);

    DoctorServices findServices(@Param("doctorId") Long doctorId, @Param("name")String name);

    List<DoctorServices> listServicesByKey(@Param("doctorId") Long doctorId);

    List<DoctorServices> listBacthServices(@Param("doctorIds") List<Long> doctorIds, @Param("group")String group);

    int update(DoctorServices record);
}